package com.suxin.http.request.intercept;

import com.suxin.http.model.RequestHttpEntity;
import com.suxin.http.response.HttpClientResponse;

import java.net.URI;

/**
 * @author Tang
 * @classname HttpClientRequestInterceptor
 * @description [  ]
 * @date 2023/3/5 19:15
 */
public interface HttpClientRequestInterceptor {

    /**
     * isInterceptor
     * @param uri
     * @param method
     * @param requestHttpEntity
     * @return
     */
    public boolean isInterceptor(URI uri, String method, RequestHttpEntity requestHttpEntity);

    /**
     * intercept
     * @return
     */
    public HttpClientResponse intercept();

}
